package com.zabra.zl.ui.updatepwd.contract;

import com.zabra.zl.base.BaseView;
import com.zabra.zl.data.SimpleBean;

import io.reactivex.Flowable;
import okhttp3.RequestBody;

public interface UpdatePwdContract {
    interface Model {
        Flowable<SimpleBean> getData(RequestBody body);
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSuccess(SimpleBean bean);
    }

    interface Presenter {
       void getData(RequestBody body);
    }
}
